/* default elements */

body {
  background-color: #191919;
  font-family: sans-serif;
  font-size: 1.3em;
  color: black;
  width: 80%;
  margin: 0;
  margin-left: 10%;
  margin-right: 10%;
  text-align: justify;
  margin-bottom: 10em;
}

h1 {
  margin: 0;
  margin-left: 1em;
  padding-top: 2em;
  padding-bottom: 2em;
  color: black;
}

h2, h3 {
  margin: 0;
  margin-bottom: 0.3em;
  border-bottom: 0.12em dashed gray;
  background-color: rgba(238, 238, 238);
  padding: 0.3em;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

p {
  margin: 0;
}

ol, ul {
  border-top: gray 0.1em solid;
  list-style-position: outside;
  margin-left: 0;
  margin-right: 0.3em;
  margin-top: 0.3em;
  margin-bottom: 0.3em;
  padding: 0;
  padding-left: 1.6em;
  background-color: rgba(170, 170, 170);
}

li {
  margin: 0;
  border-left: gray 0.1em solid;
  border-right: gray 0.1em solid;
  border-bottom: gray 0.1em solid;
  padding: 0.3em;
  background-color: rgba(221, 221, 221);
}

img {
  display: block;
  width: auto;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  margin-top: 0.4em;
  object-fit: cover;
}

code {
  background-color: white;
  font-size: inherit;
  font-weight: 800;
  padding: 0.05em;
  border: solid black 0.1em;
}

pre {
  overflow: auto;
  font-size: 18px;
  padding: 5px;
  background-color: white;
  border: 1px solid black;
}

table {
  border-collapse: collapse;
  width: 100%;
  background-color: white;
  font-size: 18px;
}

td, th {
  border: 1px solid #777777;
  padding: 5px;
}

a {
  color: #996600;
  text-decoration: none;
}

/* id elements */

#top, #hot-links, #main {
  margin: auto;
}

#top {
  color: white;
  background-position: 50% 50%;
  background-repeat: repeat;
  border: #ffcc00 0.3em solid;
  border-top: 0;
  background-color: #ffcc00;
}

#hot-links, #main {
  width: 70%;
  margin-top: 1.2em;
  background-color: rgba(205, 205, 205);
  border: #ffcc00 0.4em solid;
}

/* class elements */

.contents {
  padding-top: 1em;
  padding-bottom: 1em;
  padding-left: 2em;
  padding-right: 2em;
}

.idtext {
  width: 100%;
  font-weight: bold;
  text-align: center;
  margin-top: 0.3em;
  margin-bottom: 0.9em;
}

.yt_embed {
  display: block;
  width: 32em;
  height: 22em;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.4em;
}
